package com.nchu.student_score.mapper;

import com.nchu.student_score.dataObject.GradeResult;
import com.nchu.student_score.model.SubScores;
import java.util.List;

public interface SubScoresMapper {
    int deleteByPrimaryKey(String subScoreId);

    int insert(SubScores record);

    SubScores selectByPrimaryKey(String subScoreId);

    List<SubScores> selectAll();

    int updateByPrimaryKey(SubScores record);

    void insertAll(List<SubScores> record);

    List<SubScores> selectByProjectIdAndClazz(SubScores record);

    List<SubScores> selectByTaskIdAndStuId(GradeResult record);
}